package node;

public class SeqNode<T> {
    private T data;
    private SeqNode<T> next;

    public SeqNode() {
    }

    public SeqNode(T data) {
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public SeqNode<T> getNext() {
        return next;
    }

    public void setNext(SeqNode<T> next) {
        this.next = next;
    }
}

